import core.PeaceType;
import core.PlayerColor;
from core import Utils;

class AbstractPeace:

    def __init__(self, controller, type):
        self._controller = controller;
        self._type = type;
        self._isNobel = False;

    def checkMotion(self, sP, fP):
        return False;

    def _getMyColor(self):
        return Utils.getPeaceColor(self._type);

    @property
    def isNobel(self):
        return self._isNobel;